const configArr = [{
		color: 'brown',
		label: '全部调拨出库单',
		value: undefined,
		count: 0,
	},
	{
		color: 'green',
		label: '待出库',
		value: 30,
		count: 0,
	},
	{
		color: 'yellow',
		label: '已出库',
		value: 40,
		count: 0,
	},
]
const filterOption = {
	items: [{
			label: "关键字",
			type: "input",
			data: undefined,
			placeholder: "调拨单/条码/调拨出库单/物流单号",
			value: undefined,
			key: "keyWord"
		},
		{
			label: "出库单类型",
			type: "dropdown",
			data: [],
			placeholder: "请选择",
			value: undefined,
			key: "type"
		},
		{
			label: "发货仓库",
			type: "dropdown",
			data: [],
			placeholder: "请选择",
			value: undefined,
			key: "inWarehouseId"
		},
		{
			label: "出库单状态",
			type: "dropdown",
			data: [{
					label: '全部调拨出库单',
					value: undefined
				},
				{
					label: '待出库',
					value: 30
				},
				{
					label: '已出库',
					value: 40
				}
			],
			placeholder: "请选择",
			value: undefined,
			key: "status"
		},
		{
			label: "物流公司",
			type: "dropdown",
			data: [{
					label: '顺丰',
					value: '顺丰'
				},
				{
					label: 'EMS',
					value: 'EMS'
				}
			],
			placeholder: "请选择",
			value: undefined,
			key: "logisticsCompany"
		},

		{
			label: "出库时间",
			type: "datetimerange",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "outSureTime"
		},
	],
	btnGroup: [{
			label: "查询",
			type: "search"
		},
		{
			label: "清除",
			type: "clear"
		}
	],
	close: true
};
const tableData = [{
	num: 9928282828
}]
const tableHeaderData = [{
		prop: 'type',
		label: '出库单类型',
		width: '120'
	},
	{
		prop: 'originNumber',
		label: '调拨单号',
		width: '150'
	},
	{
		prop: 'outWarehouse',
		label: '发货仓库',
		width: '180'
	},
	{
		prop: 'inWarehouse',
		label: '收货仓库',
		width: '180'
	},
	/* {
		prop:'count',
		label:'应出商品',
		width:''
	},
	{
		prop:'sumCount',
		label:'实出商品',
		width:''
	}, */
	{
		prop: 'logisticsCompany',
		label: '物流公司',
		width: ''
	},
	{
		prop: 'logisticsNumber',
		label: '物流单号',
		width: '160'
	},
	/* {
		prop:'returnReason',
		label:'调拨原因',
		width:''
	}, */
	{
		prop: 'orderStatus',
		label: '出库单状态',
		width: ''
	},
	{
		prop: 'createBy',
		label: '操作人',
		width: ''
	},
	{
		prop: 'inSureTime',
		label: '出库日期',
		width: '160'
	},
	{
		prop: 'remark',
		label: '备注',
		width: ''
	}

]
//分页数据
const paginationObject = {
	currentPage: 1,
	pageSize: 1,
	pageTotal: 1,
	total: 1,
	num1: 1,
	num2: 1
}
const recipientData = [{
	label: '收件地址：',
	value: '广东省深圳市南山区大冲深圳市南山区大冲深圳市南山区大冲'
}]
const companyOption = [{
		label: '顺丰',
		value: 'shunfeng'
	},
	{
		label: 'EMS',
		value: 'ems'
	}
]
let Model = {
	data() {
		return {
			Model: {
				configArr,
				filterOption,
				page: {
					pageIndex: 1,
					pageSize: 10
				},
				tableData,
				tableHeaderData,
				paginationObject,
				TableSelectData: [],
				editDialogFlag: false,
				recipientData,
				companyOption,
				companyOptionVal: 'shunfeng',
				shipmentNumber: '', //物流单号
				isDisable: true, //顺丰的单号不能输入修改
				tipsShow: false,
				inMsg: '',
				outMsg: '',
			}
		}
	}
}
export default Model;
